"use strict";
class Hd {
    constructor(el) {
        this.el = el;
    }
    html() {
        console.log(this.el.innerHTML);
    }
}
// 这边一定要指定类型，否则他可能是空
const el = document.querySelector(".hd");
const hd = new Hd(el);
hd.html();
